package chances.epg.ui.widget.model;

import java.util.List;

import chances.epg.ui.taglib.model.Rect;

public class WidgetModel {
	protected Rect rect;
	protected String parentId;
	protected String id;
	protected List<DataModel> datas;
	protected String axis;

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Rect getRect() {
		return rect;
	}

	public void setRect(Rect rect) {
		this.rect = rect;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	
	public String getAxis() {
		return axis;
	}

	public void setAxis(String axis) {
		this.axis = axis;
	}

	public void addDataModel(DataModel value){
		this.datas.add(value);
	}
	public List<DataModel> getDatas() {
		return datas;
	}

	public void setDatas(List<DataModel> datas) {
		this.datas = datas;
	}
}
